home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / windows3 / macdraft.zip / SETUP.BAT < prev    next >
DOS Batch File  |  1992-01-23  |  597b  |  21 lines

  1. @echo off
  2. set WinPath=C:\Windows
  3. if not exist %WinPath%\win.com goto ToFileNoExists
  4. goto Done
  5. :ToFileNoExists
  6.     rem -----------------------------
  7.     rem  Display error message
  8.     rem -----------------------------
  9.  
  10.     echo:
  11.     echo: The setup program was unable to locate the MS Windows software in
  12.     echo: its default location. Please see NOTE on page 1-2 of the MacDraft
  13.     echo: for Windows Reference Manual for instructions on installing MacDraft
  14.     echo: from inside Windows.
  15.     echo:
  16. goto EndBatch
  17. :Done
  18. %WinPath%\win install.exe  BATCH
  19. :EndBatch
  20. set WinPath=
  21.